package com.hectopascal.goalance.service.Ipml;

import com.hectopascal.goalance.pojo.Department;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface IDepartmentService {
    Map<String, Object> departmentsGet(Integer page, Integer size, String name, Integer status);

    Department departmentAdd(Department department);

    int departmentUpdate(Department department);

    int departmentDelete(Integer id);
}
